<?php
class IndexController extends Simpple_Controller_Default {
	private $siteName = '';
	
	function init() 
	{
		$this->siteName = $this->request->getModuleName();
		
		$path = dirname(dirname(__FILE__)).'/views/cities/'.$this->siteName;
		$this->view->addScriptPath($path);
	}
	
	function indexAction() 
	{
		$this->view->user = 'Ronnie';
		$this->_display();
	}
	
	function helloAction() 
	{
		$this->display();
	}
}
?>